package org.uc3m.pfc.data;

import java.util.List;

/**
 * 
 * @author esteban
 *
 */
public final class House {
	
	// Class fields *******************************************************
	
	/** Id field. */
	private int id;
	/** Name field. */
	private String name;
	/** Url name field. */
	private String url;	
	
	/** List of zones. */
	private List<Zone> zones;

	
	// Constructor *******************************************************
	
	/**
	 * Constructor using fields.
	 * @param pid argument
	 * @param pname argument
	 * @param purl argument
	 * @param pzones argument
	 */
	public House(final int pid, final String pname, final String purl, final List<Zone> pzones) {
		this.id = pid;
		this.name = pname;
		this.url = purl;
		this.zones = pzones;
	}

	
    // Public methods ****************************************************
	
	/**
	 * Get the id.
	 * @return id
	 */
	public int getId() {
		return id;
	}

	/**
	 * Get the name.
	 * @return name
	 */
	public String getName() {
		return name;
	}	
	
	/**
	 * Get the url. 
	 * @return url
	 */
	public String getUrl() {
		return url;
	}
	
	/**
	 * Get the zones.
	 * @return zones
	 */
	public List<Zone> getZones() {
		return zones;
	}
}
